<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>添加饮品</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div id="wrap">
    <div id="top_content">
        <div id="header">
            <div id="rightheader">
                <p>
                    <%
                        Date d = new Date();
                        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
                        String now = df.format(d);
                    %>

                    当前时间：<%=now %>
                    <br />
                </p>
            </div>
            <div id="topheader">
                <h1 id="title">
                    <a href="#">main</a>
                </h1>
            </div>
            <div id="navigation">
            </div>
        </div>
        <div id="content">
            <p id="whereami">
            </p>
            <h1>
                添加饮品种类
            </h1>
            <form action="${pageContext.request.contextPath}/category/addCategory.do" method="post">
                <table cellpadding="0" cellspacing="0" border="0"  class="form_table">
                    <tr>
                        <td>种类名称：</td>
                        <td><input type="text" name="name" required></td>
                    </tr>
                </table>
                <p>
                    <input type="submit"  class="button" value="添加" required />
                </p>
            </form>
        </div>
    </div>
    <div id="footer">
        <div id="footer_bg">
            联系作者：1804676959@qq.com
        </div>
    </div>
</div>
</body>
</html>
